package com.ktg.mes.erpInventoryCat.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ktg.common.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 存货分类
 * @Author: jeecg-boot
 * @Date:   2022-08-12
 * @Version: V1.0
 */
@Data
@TableName("InventoryClass")
@ApiModel(value=" InventoryClass 对象", description="ERP - 存货分类")
public class T6ErpInventoryCategory implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id - 存货分类编码*/
    @ApiModelProperty(value = "id")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

	/**存货分类名称*/
	@Excel(name = "存货分类名称", width = 15)
    @ApiModelProperty(value = "存货分类名称")
    private String invCategoryName;

	/**存货分类条形码*/
	@Excel(name = "存货分类条形码", width = 15)
    @ApiModelProperty(value = "存货分类条形码")
    private String barCode;

    /** ERP - 编码级次，1-表示第一级分类，2-表示下级第二级分类.... **/
    @ApiModelProperty(value = "ERP - 编码级次，1-表示第一级分类，2-表示下级第二级分类....")
    private Integer invGrade;

}
